//package fy.form.listen.set;
//
//import java.io.BufferedReader;
//import java.io.FileInputStream;
//import java.io.InputStreamReader;
//import java.util.List;
//
//import org.apache.commons.logging.LogFactory;
//
//
//public class SettingReader {
//	
////	private static org.apache.commons.logging.Log log = LogFactory
////			.getLog(SettingReader.class);
////
////	public static void readFormSetting(String settingPath,
////			List<String> formSettingClassNameList) {
////		String confPath = SettingReader.class.getResource(settingPath)
////				.getPath();
////		
////		BufferedReader br = null;
////		try {
////			br = new BufferedReader(new InputStreamReader(
////					new FileInputStream(confPath)));
////
////			String temp = null;
////			while ((temp = br.readLine()) != null) {
////				temp = temp.replaceAll(" ", "");
////				if (!"".equals(temp)) {
////					formSettingClassNameList.add(temp);
////				}
////			}
////
////		} catch (Exception e) {
////			log.error("读取配置文件" + settingPath + "异常", e);
////		}finally{
////			if( br != null){
////				try {
////					br.close();
////				} catch (Exception e) {
////					// TODO Auto-generated catch block
////					e.printStackTrace();
////				}
////			}
////		}
////	}
//	
//	public static int fillFormSettingList(List<String> formSettingClassNameList) {
//		
//		int count = 0;
//		
//		for (int i = 0, size = formSettingClassNameList.size(); i < size; i++) {
//			try {
//				IFormSetting fs = (IFormSetting) Class.forName(
//						formSettingClassNameList.get(i)).newInstance();
//				fy.form.listen.operate.FormOperatorCreator.addFormSetting(fs);
//				count++;
//			} catch (Exception e) {
//				log.warn("无法获得定义需要监听的表单定义类：" + formSettingClassNameList.get(i),
//						e);
//			}
//		}
//		return count;
//	}
//}
